<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>张江动漫ACS</title>
<script>
	function checkform(){
		var keyInput = document.getElementById("keyInput").value;
		if(keyInput != ""){
			document.getElementById("uploadForm").submit();
		}else{
			alert("请填写文件名");
		}
	}
</script>
</head>
<body>
	<form id="renameForm" method="post" action="file_rename.action">
		原文件：${srcKey}
		文件名：<input id="keyInput" name="key" type="text">(请保证名称不重复，否则会覆盖之前的文件)<br/>
		<input name="fromUrl" type="hidden" value="${fromUrl}"><br/>
		<input type="button" onclick="checkform();" value="提交">
	</form>
</body>
</html>